WPGraphQL\Model\Model A

Total Complexity 52
Dependencies 2
Dependents 2
Total lines 534
Lines of code 163
Logical lines of code 97
Comment lines 307
Methods 17
Properties 8

Methods 17

Method Rating Maintainability Complexity Lines of code
wrap_fields()
A
46 11 37
get_visibility()
A
53 8 22
__get()
S
58 7 15
get_model_name()
S
60 5 13
__construct()
S
59 3 14
filter()
S
67 3 8
owner_matches_current_user()
S
70 3 6
html_entity_decode()
S
67 2 7
prepare_fields()
S
64 2 9
add_model_visibility()
S
64 1 11
is_private()
S
82 1 3
restrict_fields()
S
67 1 8
__isset()
S
79 1 3
tear_down()
S
91 1 2
setup()
S
91 1 2
__set()
S
80 1 3
init()
S
100 1 0